<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="org.slf4j.Logger,org.slf4j.LoggerFactory" %>
<%response.setStatus(200);%>

<%
	Throwable ex = null;
	if (exception != null)
		ex = exception;
	if (request.getAttribute("javax.servlet.error.exception") != null)
		ex = (Throwable) request.getAttribute("javax.servlet.error.exception");

	//记录日志
	Logger logger = LoggerFactory.getLogger("500.jsp");
	logger.error(ex.getMessage(), ex);
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>500 - 系统内部错误</title>
</head>

<body bgcolor="#87D4F2">
	<div style="POSITION: fixed; top:10px; left:10px; Z-INDEX: 10000"><a href="<c:url value="/"/>">返回首页</a></div>
	<br/>
	<br/>
	<br/>
	<br/>
	<br/>
	<br/>
	<marquee behavior=alternate scrollamount=15>
	<div style="font:bold 150px '微软雅黑';" id="not_found">
		系统出错啦 ~_~
	</div>
	</marquee>
</body>
</html>